package com.songyang.mqttandothers.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.songyang.mqttandothers.bean.LogBean;

import java.util.List;


public interface LogService extends IService<LogBean> {
    IPage<LogBean> getAllLog(Integer userId,String keyWord ,Integer nuPage, Integer pageSize);

    Integer setLog(Integer userId, Integer deviceId, String msg);

    IPage<LogBean> find(Integer deviceId, Integer nuPage, Integer pageSize);
}
